package cn.miju.admin.biz.service;

import cn.miju.admin.biz.vo.*;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * <pre>
 * 商户管理
 * </pre>
 *
 * @author zhuming
 * @version 1.0.0
 * @since 2023-04-27 15:42
 */
public interface MerchantService {
    /**
     * 商户分页查询
     * @param inVO {@link MerchantPageInVO}
     * @return {@link Page<MerchantPageOutVO>}
     */
    Page<MerchantPageOutVO> getPage(MerchantPageInVO inVO);
    /**
     * 查询商户详情
     * @param inVO {@link MerchantDetailInVO}
     * @return {@link MerchantDetailOutVO}
     */
    MerchantDetailOutVO getDetail(MerchantDetailInVO inVO);
    /**
     * 保存|修改商户信息
     * @param inVO {@link MerchantSaveInVO}
     */
    void saveOrUpdate(MerchantSaveInVO inVO);
    /**
     * 批量删除商户
     * @param inVO {@link MerchantDeleteInVO}
     */
    void deletes(MerchantDeleteInVO inVO);

    /**
     * 修改商户状态
     * @param inVO {@link MerchantUpdateStatusInVO}
     */
    void updateStatus(MerchantUpdateStatusInVO inVO);
}
